Add nicks and blurbs for child properties. (#57143)
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 2 May 2002 00:03:49 +0000 (00:03 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 2 May 2002 00:03:49 +0000 (00:03 +0000)
* gtk/gtktable.c (gtk_table_class_init):
* gtk/gtknotebook.c (gtk_notebook_class_init):
* gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
child properties.  (#57143)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkbox.c
gtk/gtknotebook.c
gtk/gtktable.c

index e0f23de2b42ab53c81b30c62f3f8756904f1c12d..03e4a637fefbd4824cc0baef0e2b8708a9a24367 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-05-02  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktable.c (gtk_table_class_init): 
+       * gtk/gtknotebook.c (gtk_notebook_class_init): 
+       * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
+       child properties.  (#57143)
+
 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
        
        * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
index e0f23de2b42ab53c81b30c62f3f8756904f1c12d..03e4a637fefbd4824cc0baef0e2b8708a9a24367 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-02  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktable.c (gtk_table_class_init): 
+       * gtk/gtknotebook.c (gtk_notebook_class_init): 
+       * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
+       child properties.  (#57143)
+
 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
        
        * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
index e0f23de2b42ab53c81b30c62f3f8756904f1c12d..03e4a637fefbd4824cc0baef0e2b8708a9a24367 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-02  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktable.c (gtk_table_class_init): 
+       * gtk/gtknotebook.c (gtk_notebook_class_init): 
+       * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
+       child properties.  (#57143)
+
 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
        
        * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
index e0f23de2b42ab53c81b30c62f3f8756904f1c12d..03e4a637fefbd4824cc0baef0e2b8708a9a24367 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-02  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktable.c (gtk_table_class_init): 
+       * gtk/gtknotebook.c (gtk_notebook_class_init): 
+       * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
+       child properties.  (#57143)
+
 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
        
        * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
index e0f23de2b42ab53c81b30c62f3f8756904f1c12d..03e4a637fefbd4824cc0baef0e2b8708a9a24367 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-02  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktable.c (gtk_table_class_init): 
+       * gtk/gtknotebook.c (gtk_notebook_class_init): 
+       * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
+       child properties.  (#57143)
+
 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
        
        * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
index e0f23de2b42ab53c81b30c62f3f8756904f1c12d..03e4a637fefbd4824cc0baef0e2b8708a9a24367 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-02  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktable.c (gtk_table_class_init): 
+       * gtk/gtknotebook.c (gtk_notebook_class_init): 
+       * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
+       child properties.  (#57143)
+
 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
        
        * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
index cc0f356702fb09e2a87adca336613193c60f6592..4b3aba0a1db96934ca8304820a80f2abe4099439 100644 (file)
@@ -139,27 +139,37 @@ gtk_box_class_init (GtkBoxClass *class)
 
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_EXPAND,
-                                             g_param_spec_boolean ("expand", NULL, NULL,
+                                             g_param_spec_boolean ("expand", 
+                                                                   _("Expand"), 
+                                                                   _("Whether the child should receive extra space when the parent grows"),
                                                                    TRUE,
                                                                    G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_FILL,
-                                             g_param_spec_boolean ("fill", NULL, NULL,
+                                             g_param_spec_boolean ("fill", 
+                                                                   _("Fill"), 
+                                                                   _("Whether extra space given to the child should be allocated to the child or used as padding"),
                                                                    TRUE,
                                                                    G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_PADDING,
-                                             g_param_spec_uint ("padding", NULL, NULL,
+                                             g_param_spec_uint ("padding", 
+                                                                _("Padding"), 
+                                                                _("Extra space to put between the child and its neighbors, in pixels"),
                                                                 0, G_MAXINT, 0,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_PACK_TYPE,
-                                             g_param_spec_enum ("pack_type", NULL, NULL,
+                                             g_param_spec_enum ("pack_type", 
+                                                                _("Pack type"), 
+                                                                _("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
                                                                 GTK_TYPE_PACK_TYPE, GTK_PACK_START,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_POSITION,
-                                             g_param_spec_int ("position", NULL, NULL,
+                                             g_param_spec_int ("position", 
+                                                               _("Position"), 
+                                                               _("The index of the child in the parent"),
                                                                -1, G_MAXINT, 0,
                                                                G_PARAM_READWRITE));
 }
index c3dcd575514aa80f4530f98ca8c85a17c8c451cc..63e14c212c13542d4d48fb90b40c364f4fbae533 100644 (file)
@@ -438,32 +438,44 @@ gtk_notebook_class_init (GtkNotebookClass *class)
 
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_TAB_LABEL,
-                                             g_param_spec_string ("tab_label", NULL, NULL,
+                                             g_param_spec_string ("tab_label", 
+                                                                  _("Tab label"),
+                                                                  _("The string displayed on the childs tab label"),
                                                                   NULL,
                                                                   G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_MENU_LABEL,
-                                             g_param_spec_string ("menu_label", NULL, NULL,
+                                             g_param_spec_string ("menu_label", 
+                                                                  _("Menu label"), 
+                                                                  _("The string displayed in the childs menu entry"),
                                                                   NULL,
                                                                   G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_POSITION,
-                                             g_param_spec_int ("position", NULL, NULL,
+                                             g_param_spec_int ("position", 
+                                                               _("Position"), 
+                                                               _("The index of the child in the parent"),
                                                                -1, G_MAXINT, 0,
                                                                G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_TAB_EXPAND,
-                                             g_param_spec_boolean ("tab_expand", NULL, NULL,
+                                             g_param_spec_boolean ("tab_expand", 
+                                                                   _("Tab expand"), 
+                                                                   _("Whether to expand the childs tab or not"),
                                                                    TRUE,
                                                                    G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_TAB_FILL,
-                                             g_param_spec_boolean ("tab_fill", NULL, NULL,
+                                             g_param_spec_boolean ("tab_fill", 
+                                                                   _("Tab fill"), 
+                                                                   _("Wheather the childs tab should fill the allocated area or not"),
                                                                    TRUE,
                                                                    G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_TAB_PACK,
-                                             g_param_spec_enum ("tab_pack", NULL, NULL,
+                                             g_param_spec_enum ("tab_pack", 
+                                                                _("Tab pack type"),
+                                                                _("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
                                                                 GTK_TYPE_PACK_TYPE, GTK_PACK_START,
                                                                 G_PARAM_READWRITE));
   
index 1709e500eca91c265365e1532ba53112e3469309..a8c7c82ae71a0a04b077b47fd6871d04289bf512 100644 (file)
@@ -196,42 +196,58 @@ gtk_table_class_init (GtkTableClass *class)
 
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_LEFT_ATTACH,
-                                             g_param_spec_uint ("left_attach", NULL, NULL,
+                                             g_param_spec_uint ("left_attach", 
+                                                                _("Left attachment"), 
+                                                                _("The leftmost column of the child"),
                                                                 0, 65535, 0,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_RIGHT_ATTACH,
-                                             g_param_spec_uint ("right_attach", NULL, NULL,
+                                             g_param_spec_uint ("right_attach", 
+                                                                _("Right attachment"), 
+                                                                _("The rightmost column of the child"),
                                                                 1, 65535, 1,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_TOP_ATTACH,
-                                             g_param_spec_uint ("top_attach", NULL, NULL,
+                                             g_param_spec_uint ("top_attach", 
+                                                                _("Top attachment"), 
+                                                                _("The uppermost row of the child"),
                                                                 0, 65535, 0,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_BOTTOM_ATTACH,
-                                             g_param_spec_uint ("bottom_attach", NULL, NULL,
+                                             g_param_spec_uint ("bottom_attach",
+                                                                _("Bottom attachment"), 
+                                                                _("The lowest row of the child"),
                                                                 1, 65535, 1,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_X_OPTIONS,
-                                             g_param_spec_flags ("x_options", NULL, NULL,
+                                             g_param_spec_flags ("x_options", 
+                                                                 _("Horizontal options"), 
+                                                                 _("Options specifying the horizontal behaviour of the child."),
                                                                  GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL,
                                                                  G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_Y_OPTIONS,
-                                             g_param_spec_flags ("y_options", NULL, NULL,
+                                             g_param_spec_flags ("y_options", 
+                                                                 _("Vertical options"), 
+                                                                 _("Options specifying the vertical behaviour of the child"),
                                                                  GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL,
                                                                  G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_X_PADDING,
-                                             g_param_spec_uint ("x_padding", NULL, NULL,
+                                             g_param_spec_uint ("x_padding", 
+                                                                _("Horizontal padding"), 
+                                                                _("Extra space to put between the child and its left and right neighbors, in pixels"),
                                                                 0, 65535, 0,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_Y_PADDING,
-                                             g_param_spec_uint ("y_padding", NULL, NULL,
+                                             g_param_spec_uint ("y_padding", 
+                                                                _("Vertical padding"), 
+                                                                _("Extra space to put between the child and its upper and lower neighbors, in pixels"),
                                                                 0, 65535, 0,
                                                                 G_PARAM_READWRITE));
 }